Project and session goals#2254
Conversation
|
Great! This is a good start. Here are some ToDos:
I can handle the custom widget and the core class if you wish, or we can split them. The core class should be modelled after the NWStatus class. You don't need to use the NW prefix. I don't use those any more, and plan to remove them. ProjectGoal is a sensible name. Some implementation comments:
|
|
All checks failed, but the tests fail because the project file format has changed, so that's a non-issue at this point. |
|
I initially considered adapting one of the existing custom progress bars, so I'll create the widget as a start, at least. |
|
Is it okay with you if I change a parent class for |
Just duplicate for now, and if it turns out they do not diverge, we can create the parent class later. I'm planning a different colouring feature for this progress bar, so I don't think they will stay that similar. |
Added NProgressGoal class to handle goal progress bars.
|
My most recent push adds the new |
Thanks! I'll take a look at the branch a bit later and add the data class for the config. I'm still wondering if the progress bars should be in the side panel rather than the status bar, but I will create an example and we can compare from screenshots. I need to see it side by side to get a good impression. |
Co-authored-by: Veronica Berglyd Olsen <1619840+vkbo@users.noreply.github.com>
|
Sorry for the slow progress from my side. I don't have time to work on new code right now as I've been very busy with work and other things. I'll get back to it soon. |
|
As you may have seen I've postponed remaining features till 2.8 while I work to get 2.7 done. I'll pick this up again when I start working on 2.8. |
Summary:
I've added project settings for project word count goal, project completion target date, and a session word count goal that can optionally be automatically calculated based off the project completion target date. These are also visualised in the status bar as progress bars that update alongside the existing word count label in the status bar.
Related Issue(s):
Closes #2223
Reviewer's Checklist: